home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / util / arc / xadmaster.lha / xad / Install < prev    next >
Text File  |  2000-04-02  |  2KB  |  104 lines

  1. ; little dirty install script for xadmaster system
  2.  
  3. ; $VER: Install 1.2 (20.02.2000) by SDI
  4.  
  5. (if (patmatch "(68020|68030|68040|68060)" (database "cpu"))
  6.   (copylib
  7.     (help @copylib-help)
  8.     (prompt "Copying 020 version of xadmaster.library")
  9.     (source "Libs/xadmaster.library020")
  10.     (dest "LIBS:")
  11.     (newname "xadmaster.library")
  12.     (confirm)
  13.   )
  14.   (copylib
  15.     (help @copylib-help)
  16.     (prompt "Copying xadmaster.library")
  17.     (source "Libs/xadmaster.library")
  18.     (dest "LIBS:")
  19.     (confirm)
  20.   )
  21. )
  22.  
  23. (copyfiles
  24.   (help @copyfiles-help)
  25.   (prompt "Copying xadmaster.library clients")
  26.   (source "Libs/xad")
  27.   (dest "LIBS:xad")
  28.   (all)
  29.   (confirm)
  30. )
  31.  
  32. (copyfiles
  33.   (help @copyfiles-help)
  34.   (prompt "Copying shell tools")
  35.   (source "C")
  36.   (dest "C:")
  37.   (all)
  38.   (confirm)
  39. )
  40.  
  41. (set #dir
  42.   (askdir
  43.     (prompt "Where should the docs be installed?")
  44.     (help @askdir-help)
  45.     (default @default-dest)
  46.   )
  47. )
  48.  
  49. (set #catalog
  50.   (askchoice
  51.     (prompt "Select the language")
  52.     (help @askoptions-help)
  53.     (choices "deutsch" "english" "français" )
  54.     (default 1)
  55.   )
  56. )
  57.  
  58. (if (= #catalog 0) (
  59.   (copyfiles
  60.     (help @copyfiles-help)
  61.     (prompt "Copying xadmaster guide file and shell docs")
  62.     (source "Languages/deutsch")
  63.     (dest #dir)
  64.     (infos)
  65.     (all)
  66.     (confirm)
  67.   )
  68. ))
  69.  
  70. (if (= #catalog 1) (
  71.   (copyfiles
  72.     (help @copyfiles-help)
  73.     (prompt "Copying xadmaster guide file")
  74.     (source "xadmaster.guide")
  75.     (dest #dir)
  76.     (infos)
  77.     (all)
  78.     (confirm)
  79.   )
  80.  
  81.   (copyfiles
  82.     (help @copyfiles-help)
  83.     (prompt "Copying shell tool docs")
  84.     (source "Docs")
  85.     (dest #dir)
  86.     (infos)
  87.     (all)
  88.     (confirm)
  89.   )
  90. ))
  91.  
  92. (if (= #catalog 2) (
  93.   (copyfiles
  94.     (help @copyfiles-help)
  95.     (prompt "Copying xadmaster guide file and shell docs")
  96.     (source "Languages/français")
  97.     (dest #dir)
  98.     (infos)
  99.     (all)
  100.     (confirm)
  101.   )
  102. ))
  103.  
  104.